﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace iDMS.Models
{
    public partial class SheetAttachment
    {
        
        public string FileSize
        {
            get
            {
                return String.Format(new FileSizeFormatProvider(), "{0:fs}", Resource.FileData.Length);
            }
        }

        public string FileName
        {
            get
            {
                return Name + "." + Resource.FileExtension;
            }
        }
    }
}